package com.leador.listener;

/**
 * Created by liuha on 2016/7/25.
 */
public abstract class BaseTraceListener {
    /**
     * 运行正常解析
     * @param json
     * @return
     */
   public abstract Object jsonToObject(String json);

    /**
     * 网络连接失败
     */
   public  abstract void connectNetFailure(String msg);

    /**
     * 其他异常
     */
   public  abstract void failure(String msg);
}
